import Vue from 'vue'
import Router from 'vue-router'
import document from '@/pages/document'
import docDetail from '@/pages/documentDetail'
import help from '@/pages/helpDoc'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'documents',
      component: document
    },
    {
      path: '/docDetail',
      name: 'docDetail',
      component: docDetail
    },
    {
      path: '/help',
      name: 'help',
      component: help
    }
  ]
})
